package cn.gjxblog.core.social.qq.connect;

import cn.gjxblog.core.social.qq.provider.QQProvider;
import cn.gjxblog.core.social.qq.provider.api.QQ;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;

/**
 * @author gjx
 * @version v1.0
 * @Description
 * @date 2019/1/17 17:22
 */
public class QQConnectionFactory extends OAuth2ConnectionFactory<QQ> {

    public QQConnectionFactory(String providerId, String appid,String appSecret) {
        super(providerId, new QQProvider(appid,appSecret), new QQAdapter());
    }
}
